using System.Collections.Generic;
using MvcMall.Core.Commands;
using MvcMall.Core.Domains;
using MvcMall.Framework.MvcPager;

namespace MvcMall.Core.Contacts.Tasks
{
    public interface IAdminMenuTask
    {
        List<AdminMenu> GetAll();
        AdminMenu Get(int id);
        AdminMenu Save(SaveAdminMenuCommand cmd);
        PagedList<AdminMenu> GetPagedList(int pageIndex, int pageSize);
    }
}